package com.lanou.pianke.admin.web.controller;

import com.lanou.pianke.admin.service.AreplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/admin")
public class ArticleReplyController {

    @Autowired
    private AreplyService areplyService;

    //删除举报文章回复
    @DeleteMapping("/deleteArticleReply/{reid}")
    public String deleteArticleReply(@PathVariable String reid){
        areplyService.deleteByReid(reid);
        return "delete successfully";
    }

}
